import 'package:fish_redux/fish_redux.dart';
import 'package:school_safe_teacher/attendanceRecord/page.dart';
import 'package:school_safe_teacher/guide/page.dart';
import 'package:school_safe_teacher/homework/page.dart';
import 'package:school_safe_teacher/index/page.dart';
import 'package:school_safe_teacher/login/page.dart';
import 'package:school_safe_teacher/message/page.dart';
import 'package:school_safe_teacher/news/page.dart';
import 'package:school_safe_teacher/news_list/page.dart';
import 'package:school_safe_teacher/setting/change_pwd/page.dart';
import 'package:school_safe_teacher/setting/index/page.dart';
import 'package:school_safe_teacher/splash/page.dart';
import 'package:school_safe_teacher/Home/page.dart';
import 'package:school_safe_teacher/me/page.dart';
import 'package:school_safe_teacher/studentsReview/page.dart';
import 'package:school_safe_teacher/leaveapproval/page.dart';
import 'package:school_safe_teacher/homework/page.dart';
import 'package:school_safe_teacher/homeWorkList/page.dart';
import 'package:school_safe_teacher/suggest/page.dart';
import 'package:school_safe_teacher/truancySubmission/page.dart';
import 'package:school_safe_teacher/user_info/change_nickname/page.dart';
import 'package:school_safe_teacher/user_info/change_user_info/page.dart';
import 'package:school_safe_teacher/user_info/page.dart';
import 'package:school_safe_teacher/web/page.dart';

class RouteConstants {
  static final AbstractRoutes routes =
      PageRoutes(pages: <String, Page<Object, dynamic>>{
    RouteConstants.SPLASH: SplashPage(),
    RouteConstants.LOGIN: LoginPage(),
    RouteConstants.HOME: HomePagePage(),
    RouteConstants.MESSAGE: MessagePage(),
    RouteConstants.ME: MePage(),
    RouteConstants.STUDENTREVIEW: studentsReviewPage(),
    RouteConstants.LEAVEAPPROVAL: LeaveApprovalPage(),
    RouteConstants.INDEX: IndexPage(),
    RouteConstants.NEWS_DETAIL: NewsDetailPage(),
    RouteConstants.HOMEWORK: HomeWorkPage(),
    RouteConstants.HOMEWORKlIST: homeWorkListPage(),
    RouteConstants.TRUANCYSUBMISSION: TruancysubmissionPage(),
        RouteConstants.ATTENDANCERECORD: attendanceRecordPage(),
        RouteConstants.CHANGE_PWD: ChangePwdPage(),
        RouteConstants.SETTING: SettingPage(),
        RouteConstants.CHANGE_USER_INFO: ChangeUserInfoPage(),
        RouteConstants.CHANGE_NICKNAME: ChangeNickNamePage(),
        RouteConstants.USER_INFO: UserInfoPage(),
        RouteConstants.SUGGEST: SuggestPage(),
        RouteConstants.WEB: BaseWebPage(),
        RouteConstants.NEWS_LIST: NewsListPage(),
        RouteConstants.GUIDE: GuidePage(),


  });

  //启动页
  static final String SPLASH = "splash_page";
  static final String LOGIN = "login_page";
  static final String HOME = "home_page";
  static final String MESSAGE = "message_page";
  static final String ME = "me_page";
  static final String STUDENTREVIEW = "studentsReview_page";
  static final String LEAVEAPPROVAL = "leaveapproval_page";
  static final String INDEX = "index_page";
  //引导页
  static final GUIDE = "guide_page";


  //作业下发
  static final String HOMEWORK = "homeWork_page";
  //作业记录
  static final String HOMEWORKlIST = "homeWorkList";

  //资讯详情
  static final NEWS_DETAIL = "news_detail";

  //旷课提交
  static final TRUANCYSUBMISSION = "Truancysubmission";
  //考勤记录
  static final ATTENDANCERECORD = "attendanceRecord";
  //修改密码
  static final CHANGE_PWD = "change_pwd";
  //设置
  static final SETTING = "setting";
  //修改简介
  static final CHANGE_USER_INFO = "change_user_info";
  //修改昵称
  static final CHANGE_NICKNAME = "change_nickname";
  //个人资料
  static final USER_INFO = "user_info";
  //新闻列表
  static final NEWS_LIST = "news_list";
  //帮助与反馈
  static final SUGGEST = "suggest";

  static final String WEB = "web";




}
